<?php
return [
    'zf-mvc-auth' => [
        'authentication' => [
            'adapters' => [
                'apigilityoauth2adapter' => [
                    'storage' => [
                        'dsn' => 'mysql:host=127.0.0.1;dbname=hunlianshejiao',
                        'username' => 'root',
                        'password' => '',
                    ],
                ],
            ],
        ],
    ],
    'doctrine' => [
        'connection' => [
            'orm_default' => [
                'driverClass' => \Doctrine\DBAL\Driver\PDOMySql\Driver::class,
                'params' => [
                    'host' => '127.0.0.1',
                    'port' => '3306',
                    'user' => 'root',
                    'password' => '',
                    'dbname' => 'hunlianshejiao',
                ],
            ],
        ],
    ],
    'apigility-order' => [
        'payment-adapter' => [
            'alipay' => [
                'notify_url' => 'http://api.wxn1314.com/order/payment-notification-from-alipay',
                'transport' => 'http',
            ],
        ],
    ],
];
